package com.googlecode.flealancemarket.service.commands.impl;

import com.googlecode.flealancemarket.service.commands.BrowseCategories;
import com.googlecode.flealancemarket.service.facades.CategoriesFacade;

public class BrowseCategoriesImpl implements BrowseCategories {

    private CategoriesFacade facade;

    public Object execute() {
        return facade.getCategories();
    }

    public CategoriesFacade getFacade() {
        return facade;
    }

    public void setFacade(CategoriesFacade cf){
        facade = cf;
    }

}
